package com.zdy.boot.upload.controller;

import cn.hutool.json.JSONUtil;
import com.zdy.boot.upload.domain.PicRequest;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

/**
 * @author sdy
 * @description
 * @date 2025/2/8
 */
@Slf4j
@RestController
@RequestMapping("upload/client")
public class JobController {

    @PostMapping(path = "/pic")
    public boolean handleUploadPic(@RequestBody PicRequest vo) {
        log.info("图片信息：{}", JSONUtil.toJsonStr(vo));
        return true;
    }

}
